import App from './App'

// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'

import ctgaba_ui from 'ctgaba_ui'
Vue.use(ctgaba_ui)
Vue.prototype.$ct.color.primary = '#33C2B4'
Vue.prototype.$ct.style.buttonRadius = '100rpx'

//
// import pageIndex from './components/page-index/page-index.vue'
// Vue.component('page-index',pageIndex)
// import pageButton from './components/page-button/page-button.vue'
// Vue.component('page-button',pageButton)
// import pageColor from './components/page-color/page-color.vue'
// Vue.component('page-color',pageColor)
// import pageEmpty from './components/page-empty/page-empty.vue'
// Vue.component('page-empty',pageEmpty)
// import pageTabs from './components/page-tabs/page-tabs.vue'
// Vue.component('page-tabs',pageTabs)
// import pagePopup from './components/page-popup/page-popup.vue'
// Vue.component('page-popup',pagePopup)
// import pageIcon from './components/page-icon/page-icon.vue'
// Vue.component('page-icon',pageIcon)
// import pageTransition from './components/page-transition/page-transition.vue'
// Vue.component('page-transition',pageTransition)
// import pageModal from './components/page-modal/page-modal.vue'
// Vue.component('page-modal',pageModal)
// import pageDatetimePicker from './components/page-datetime-picker/page-datetime-picker.vue'
// Vue.component('page-datetime-picker',pageDatetimePicker)


Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
  ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif